﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace sourcephi.Models
{
    public class renyuanLoginViewModel
    {
        [DisplayName("账号")]
        [DataType(DataType.Text, ErrorMessage = "请输入您的账号")]
        [Required(ErrorMessage = "请输入{0}")]
        public string loginname { get; set; }

        [DisplayName("密码")]
        [DataType(DataType.Password)]
        [Required(ErrorMessage = "请输入{0}")]
        public string psw { get; set; }
    }
}